package com.sx.gongzhong.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XZY on 2017/12/28.
 * 爆料列表对象
 */
public class ExposureBean implements Serializable{
    /**
     * brokeNewsType : {"code":"broke_fun_to_share","id":"0aaa84e4f4eb11e7a12b00163e0297af","name":"趣味分享","sourcesState":0}
     * content : 你大妈早已不是你大妈
     * files : [{"fileType":"image","id":"48dba3f3f53711e7a12b00163e0297af","originalName":"1515500322037.jpg","path":"/fileResource/upload/2018-01-09/4ec05db3-5422-487c-9e4c-8c6e8b73b6eb.jpg","sourcesState":0}]
     * id : 490ea309f53711e7a12b00163e0297af
     * praiseTimes : 0
     * publisher : {"id":"48a095c4f51511e7a12b00163e0297af","mobilePhone":"18757598572","name":"手机用户8572","sourcesState":0}
     * readTimes : 0
     * releaseTime : 2018-01-09 20:19:06
     * replyTimes : 0
     * sourcesState : 0
     * title : 你大妈
     */

    private BrokeNewsTypeBean brokeNewsType;
    private PublisherBean publisher;
    private String content;
    private String id;
    private int praiseTimes;
    private int readTimes;
    private String releaseTime;
    private int replyTimes;
    private int sourcesState;
    private String title;
    private List<PhotoBean> files;

    public BrokeNewsTypeBean getBrokeNewsType() {
        return brokeNewsType;
    }

    public void setBrokeNewsType(BrokeNewsTypeBean brokeNewsType) {
        this.brokeNewsType = brokeNewsType;
    }

    public PublisherBean getPublisher() {
        return publisher;
    }

    public void setPublisher(PublisherBean publisher) {
        this.publisher = publisher;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getPraiseTimes() {
        return praiseTimes;
    }

    public void setPraiseTimes(int praiseTimes) {
        this.praiseTimes = praiseTimes;
    }


    public int getReadTimes() {
        return readTimes;
    }

    public void setReadTimes(int readTimes) {
        this.readTimes = readTimes;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    public int getReplyTimes() {
        return replyTimes;
    }

    public void setReplyTimes(int replyTimes) {
        this.replyTimes = replyTimes;
    }

    public int getSourcesState() {
        return sourcesState;
    }

    public void setSourcesState(int sourcesState) {
        this.sourcesState = sourcesState;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<PhotoBean> getFiles() {
        return files;
    }

    public void setFiles(List<PhotoBean> files) {
        this.files = files;
    }

    public static class BrokeNewsTypeBean implements Serializable{
        /**
         * code : broke_fun_to_share
         * id : 0aaa84e4f4eb11e7a12b00163e0297af
         * name : 趣味分享
         * sourcesState : 0
         */

        private String code;
        private String id;
        private String name;
        private int sourcesState;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getSourcesState() {
            return sourcesState;
        }

        public void setSourcesState(int sourcesState) {
            this.sourcesState = sourcesState;
        }
    }

    public static class PublisherBean implements Serializable{

        /**
         * id : 48a095c4f51511e7a12b00163e0297af
         * mobilePhone : 18757598572
         * name : 手机用户8572
         * sourcesState : 0
         * headerUrl :头像
         */

        private String name;
        private String headerUrl;

        public String getHeaderUrl() {
            return headerUrl;
        }

        public void setHeaderUrl(String headerUrl) {
            this.headerUrl = headerUrl;
        }
        public static class BrokeNewsTypeBean {
            /**
             * code : broke_fun_to_share
             * id : 0aaa84e4f4eb11e7a12b00163e0297af
             * name : 趣味分享
             */

            private String code;
            private String id;
            private String name;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}

